package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.GoodsTransBillProduct;
import com.weixing.mall.provider.model.query.GoodsTransQuery;
import com.weixing.mall.provider.model.vo.GoodsTransBillProductVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* Created by Mybatis Generator on 2019/09/29
*/
@Repository
public interface GoodsTransBillProductMapper extends BaseMapper<GoodsTransBillProduct> {

   IPage<GoodsTransBillProductVo> getGoodsTransBillProductByGoodsTransId(@Param("pg") Page page, Long goodsTransId, @Param("depotId") Long depotId, @Param("qs") GoodsTransQuery goodsTransQuery);

   List<GoodsTransBillProductVo> getGoodsTransBillProductByGoodsTransId(@Param("goodsTransId") Long goodsTransId,@Param("depotId") Long depotId,@Param("qs") GoodsTransQuery goodsTransQuery);
}
